<?php
	session_start();
	if ( $_SESSION['auth'] != "OK"){
		$errt = "Tu tiempo  ha expirado, por favor ingresa de nuevo";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Autentificación al Sistema</title>
	<script type="text/javascript">

		function error(){
			document.uno.err.value = "<?php echo $errt; ?>";
			document.uno.target = "_top"; 
			document.uno.submit(); 
		}

	</script>
</head>
<body onLoad="error();">
	<form name="uno" action="index.php" method="post">
		<input type="hidden" name="err" value="" />
	</form>
</body>
</html>
<?php 
		exit();
		}
?>	
<?php include_once("config.inc.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?=$tit;?></title>
<link href="adds/estilo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="adds/lib.js">;</script>
</head>
<body>
<?php include_once("cabecera.php");?>
<h1 style="margin: 50px 100px 10px 100px;">
Administrador de Contenidos<br /><br />
<div align="right" style="font-family:'Times New Roman', Times, serif; color:#0033CC; font-weight:bolder; font-size:larger;">v1.1</div>
</h1>
<?php include_once( "pie.php" ); ?>
